<?php /* Smarty version Smarty-3.1.6, created on 2013-03-26 10:30:09
         compiled from "/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/ClientStat/detail.tpl" */ ?>
<?php /*%%SmartyHeaderCode:102441987851510831217695-83792223%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '24b77617e376a19202bdd984ca510a52ed954638' => 
    array (
      0 => '/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/ClientStat/detail.tpl',
      1 => 1364183648,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '102441987851510831217695-83792223',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'lang' => 0,
    'list' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_515108312b57d',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_515108312b57d')) {function content_515108312b57d($_smarty_tpl) {?><?php if (!is_callable('smarty_block_tr')) include '/home/zmx/erp2.1/DzhPHP/FrameWork/Extend/Vendor/Smarty/plugins/block.tr.php';
?><table  class="list" border="1"> 
	<tr>
		<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['date'];?>
</th> 
		<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['should_paid'];?>
</th>
		<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['have_paid'];?>
</th> 
		<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['need_paid'];?>
</th> 
		<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['use_paid'];?>
</th> 
		<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['discount'];?>
</th> 
		<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['funds'];?>
</th> 
		<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['comments'];?>
</th> 
	</tr> 
	<?php $_smarty_tpl->smarty->_tag_stack[] = array('tr', array('from'=>$_smarty_tpl->tpl_vars['list']->value['list'])); $_block_repeat=true; echo smarty_block_tr(array('from'=>$_smarty_tpl->tpl_vars['list']->value['list']), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

		<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array()); $_block_repeat=true; echo smarty_block_td(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

			<?php echo $_smarty_tpl->tpl_vars['item']->value['fmd_paid_date'];?>

		<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

		<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array('class'=>"t_right")); $_block_repeat=true; echo smarty_block_td(array('class'=>"t_right"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

			<?php echo $_smarty_tpl->tpl_vars['item']->value['dml_original_money'];?>

		<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array('class'=>"t_right"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
 
		<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array('class'=>"t_right")); $_block_repeat=true; echo smarty_block_td(array('class'=>"t_right"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

			<?php echo $_smarty_tpl->tpl_vars['item']->value['dml_have_paid'];?>

		<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array('class'=>"t_right"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
 
		<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array('class'=>"t_right")); $_block_repeat=true; echo smarty_block_td(array('class'=>"t_right"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

			<?php echo $_smarty_tpl->tpl_vars['item']->value['dml_need_paid'];?>

		<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array('class'=>"t_right"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
 
		<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array('class'=>"t_right")); $_block_repeat=true; echo smarty_block_td(array('class'=>"t_right"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

			<?php echo $_smarty_tpl->tpl_vars['item']->value['dml_use_paid'];?>

		<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array('class'=>"t_right"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
 
		<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array('class'=>"t_right")); $_block_repeat=true; echo smarty_block_td(array('class'=>"t_right"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

			<?php echo $_smarty_tpl->tpl_vars['item']->value['dml_discount_money'];?>

		<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array('class'=>"t_right"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

		<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array('class'=>"t_right")); $_block_repeat=true; echo smarty_block_td(array('class'=>"t_right"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
  
			<?php echo $_smarty_tpl->tpl_vars['item']->value['dml_sum_need_paid'];?>
  
		<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array('class'=>"t_right"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

		<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array('total_link'=>false,'class'=>"t_left")); $_block_repeat=true; echo smarty_block_td(array('total_link'=>false,'class'=>"t_left"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
 
			<?php if ($_smarty_tpl->tpl_vars['item']->value['comments_url']){?>
			<a href="javascript:;" onclick="addTab('<?php echo $_smarty_tpl->tpl_vars['item']->value['comments_url'];?>
','<?php echo $_smarty_tpl->tpl_vars['lang']->value['view_detail'];?>
',1); ">
			<?php echo $_smarty_tpl->tpl_vars['item']->value['edit_comments'];?>

			</a>
			<?php }else{ ?>
			<?php echo $_smarty_tpl->tpl_vars['item']->value['edit_comments'];?>

			<?php }?>
		<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array('total_link'=>false,'class'=>"t_left"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

	<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_tr(array('from'=>$_smarty_tpl->tpl_vars['list']->value['list']), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

	<tr>
	<td class="red "><?php echo $_smarty_tpl->tpl_vars['lang']->value['page_total'];?>
</td>
	<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['total']['dml_original_money'];?>
 </td>
	<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['total']['dml_have_paid'];?>
 </td> 
	<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['total']['dml_need_paid'];?>
 </td>  
	<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['total']['dml_use_paid'];?>
 </td>  
	<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['total']['dml_discount_money'];?>
 </td>   
	<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['total']['total_sum_need_paid'];?>
 </td>    
	<td class="red ">&nbsp;</td>
	</tr> 
	<tr>
	<td class="red "><?php echo $_smarty_tpl->tpl_vars['lang']->value['total'];?>
</td>
	<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['all_total']['dml_original_money'];?>
 </td>
	<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['all_total']['dml_have_paid'];?>
 </td> 
	<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['all_total']['dml_need_paid'];?>
 </td>  
	<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['all_total']['dml_use_paid'];?>
 </td>  
	<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['all_total']['dml_discount_money'];?>
 </td>   
	<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['all_total']['dml_money'];?>
 </td>    
	<td class="red ">&nbsp;</td>
	</tr> 
</table>
<br><br><?php }} ?>